<?php

$this->widget('bootstrap.widgets.TbGridView', array(
    'dataProvider' => $dataProvider,
    'type'=>'striped bordered condensed',
    'columns' => array(
        array('name' => '#', 'value' => '$data->category_id', 'type' => 'number'),
        array('name' => 'Title', 'value' => '$data->title'),
        array('name'=>'URL', 'value'=>'$data->url'),
        array(// display a column with "view", "update" and "delete" buttons
            'class' => 'CButtonColumn',
        ),
    ),
    'loadingCssClass'=>'table table-striped',
    'itemsCssClass'=>'table table-striped'
));